import 'package:flutter/material.dart';
import 'package:media_kit/media_kit.dart';

import 'study_screen.dart';

void main() {
  MediaKit.ensureInitialized();
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        debugShowCheckedModeBanner: false,
        title: '学外语超级工具',
        theme: ThemeData(
          colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
          useMaterial3: true,
        ),
        home: Scaffold(
          body: StudyScreen(
              mode: 1,
              mp4Path: "/Users/qiang/英语/译林英语/unit1/unit1storytime.mp4",
              srtPath1: "/Users/qiang/英语/译林英语/unit1/unit1storytime.srt",
              srtPath2: "/Users/qiang/英语/译林英语/unit1/unit1storytime.srt"),
        ));
  }
}
